package com.cargohu.aishouyu.member.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 聊天常用语
 *
 * @author yww
 * @since 2023-11-28
 */
@Data
@TableName("chat_phrase")
@Schema(description = "聊天常用语")
public class ChatPhrase implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "会员ID")
    private Long memberId;

    @Schema(description = "常用语内容")
    private String content;

    @Schema(description = "标签ID")
    private Long labelId;

    @TableLogic
    @Schema(description = "删除标记，0未删除，1已删除")
    private String delFlag;

}

